<? include_once(dirname(__FILE__).'/../header.php'); ?>

<fieldset>
<legend></legend>
<table>
<tr>
    <td>Código</td>
    <td>Nome</td>
	<td>Ativo</td>
	<td>&nbsp;</td>

</tr>
  <?php

  foreach($formulario as $key =>$dados){ ?>
  <tr>
      <td><?=$dados->disc_id;?></td>
      <td><?=$dados->disc_nome;?></td>
	  <td><?=$dados->disc_ativo;?></td>
      <td><?=anchor('disciplina/editar/'.$dados->disc_id,'Editar');?></td>
    </tr>
   <?php
  };?>
  
</fieldset> 
<? include_once(dirname(__FILE__).'/../footer.php'); ?>